<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<html>
<head>

<title>优惠卷审核</title>
</head>
<body>
	<table align="center">
	<tr align="center"><td align="center"><font size="5" color="##007979">商家优惠卷审核</font></td></tr></table>
	<table align="center">
	<tr bgcolor="#9D9D9D">
		<TD>编号</TD>
		<TD>详情</TD>
		<TD>类型</TD>
		<TD>有效期</TD>
		<TD>审核</TD>
		<TD>操作</TD>
		<TD>提交</TD>
	</TR>
	<logic:present name="preferentialList">
	<logic:iterate id="preferential" name="preferentialList" scope="session">
	<TR>
		<td><bean:write name="preferential" property="id" scope="page" format="#"/></td>
		<TD><bean:write name="preferential" property="details" scope="page"/></TD>
		<TD><bean:write name="preferential" property="type" scope="page"/></TD>
		<TD><bean:write name="preferential" property="validity" scope="page"/></TD>
		<TD><bean:write name="preferential" property="isAudit" scope="page"/></TD>
		<form name="form1" method="post" action='manager.do?method=updatePreferential&id=<bean:write name="preferential" property="id" scope="page" format="#"/>'>
		<td>
			<select name="isAudit"> 				
  				<option value ="0">无效</option>
  				<option value ="1">有效</option>
			</select>
		</td>	
  		<td><input type="submit" name="button" id="button" value="确定"></td>
		</form>
	</TR>
	</logic:iterate>
	</logic:present>
	</table>
</body>
</html>